The LoLA ADOxxWEB API is an implementation of a webservice wrapper for the LoLA (Low Level Petri net Analyzer) as provided for download (http://www.service-technology.org/lola/index.html). To enable integration of the LoLA functionality, the tool has been compiled from source code and a wrapper implementation to enable SOAP and ReST interaction is made available.
License details for LoLA and the wrapper implementation are available here
The implementation architecture of the wrapper service is detailed in this section. In case you want to see the source code in action, please switch to the "Extend" section.
In case you are interested in calling the service from your own implementation, please have a look at the following section. Different integration clients and examples showcase the general applicablility.
In this seciton, access to the source code is granted. You can download the source package, deploy LoLA on your own infrastructure and change the way the wrapper servic e is working.
The LoLA Wrapper service is implemented as a remote web-service, that allows to trigger LoLA analytical mechanisms through standardized web-service protocols. As such it uses an arbitrary installation of LoLA in a Linux environment as a basis (LoLA functionality and implementation is used as-is, the source code as provided online has been compiled and installed). Using a Java-based implementation, and JAX as a web-service layer, the endpoints are exposed dynamically using annotations for SOAP and ReST.
The wrapper service can be tested and verified using Swagger UI that provides a user interface for the service endpoint. This interfaces is available here. The SOAP specificiation (in WSDL format) and ReST (in WADL format) are accessible here for integration.
The wrapper can be called and used remotely using standard mechanisms to interact with web-services. In the following, the steps required to include the functionality in an ADOxx-based tool are shown:
#################################################################
######## REMOTE DOCUMENTATION TRIGGER ########
#################################################################
ITEM "Run LoLA analysis" modeling:"Model verification"
SETG sRemoteLoLAURL:"https://www.adoxx.org/LOLAService/"
EXECUTE file:("db:\\RemoteLoLA.asc")
The wrapper source code is available via ADOxx.org. Please consider the license conditions as outlined here for the included LoLA exectuable as well as components used to realize the service.
Hints:
Please consider the following configuration entry in
"context.xml":